/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.webhomesites.configuracao.contracts;

import java.awt.event.ActionListener;

/**
 *
 * @author Webhome
 */
public interface IUsuarioView {
    
    public void setCodigo(int codigo);  
    public int getCodigo();  
      
    public void setNome(String nome);  
    public String getNome();
    
    public void setLogin(String login);
    public String getLogin();
    
    public void setSenha(String senha);
    public String getSenha();
    
    public void packAndShow();  
    public void clearFields(); 
    
    public void enableTxtUsuarioCodigo(boolean arg);  
    public void enableTxtUsuarioNome(boolean arg);  
    public void enableTxtUsuarioLogin(boolean arg);  
    public void enableTxtUsuarioSenha(boolean arg);  
   
    public void enableBtnAlterar(boolean arg);
    public void enableBtnRemover(boolean arg);
    public void enableBtnCancelar(boolean arg);
    public void enableBtnSalvar(boolean arg);
    public void enableBtnInserir(boolean arg);
    
    public void setInserirActionListener(ActionListener listener);  
    public void setRemoverActionListener(ActionListener listener);  
    public void setAlterarActionListener(ActionListener listener);     
    public void setCancelarActionListener(ActionListener listener);  
    public void setSalvarActionListener(ActionListener listener);  
    public void setBtnSairActionListener(ActionListener listener);
    
}
